package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 邀请首次购买记录
 */
@ApiModel(value = "com-lanchetech-entity-InviteFirstBuy")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class InviteFirstBuy implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 上级用户id
     */
    @ApiModelProperty(value = "上级用户id")
    private Long superiorId;

    /**
     * 下级用户id，消费者
     */
    @ApiModelProperty(value = "下级用户id，消费者")
    private Long subordinateId;

    /**
     * 订单明细编号
     */
    @ApiModelProperty(value = "订单明细编号")
    private Long orderSkuId;

    /**
     * 排单编号
     */
    @ApiModelProperty(value = "排单编号")
    private Long rewardQueueId;

    /**
     * 状态 0 未奖励 1 已奖励 2 因售后取消
     */
    @ApiModelProperty(value = "状态 0 未奖励 1 已奖励 2 因售后取消")
    private Byte status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}